package com.hhh.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hhh.Dto.DishDto;
import com.hhh.Pojo.Dish;

import java.util.List;

public interface DishService {
    IPage<DishDto> SelectAll(long page,long pageSize,String name);

    DishDto SelectById(long id);

    long SelectCount(long CategoryId);

    Integer Insert(DishDto dishDto);

    Integer Upate(DishDto dishDto);

    List<DishDto> SelectByCategoryId(long CategoryId);

    Integer Updatestatus(Integer status,List<Long> ids);

    Integer Delete(List<Long> ids);
}
